$NG.AllReady(function (page, { useValuesChange,useDataIndexChange,useUpdateRows,useUpdateRow }) {
    console.log(location.href);
     // 解析参数
     function parseUrlParams(url) {
        const paramsObj = {};
        const queryString = url.split('?')[1];
        const paramPairs = queryString.split('&');
        paramPairs.forEach((paramPair) => {
            const [key, value] = paramPair.split('=');
            const decodedValue = decodeURIComponent(value);
            paramsObj[key] = decodedValue;
        });
        return paramsObj;
    }
    console.log(parseUrlParams(location.href));
    $NG.updateState((updater)=>{
        const param = parseUrlParams(location.href)
        updater.data.p_form_visit_confirm.setProps({
            phid_pc:{
                label:param.phidName,
                value:param.phidPc
            },
            u_end_phid_pc:{
                label:param.phidName,
                value:param.phidPc
            },
            phid_emp:{
                label:param.empName,
                value:param.empPhid
            },
            u_end_emp:{
                label:param.empName,
                value:param.empPhid
            }
        })
    })
})